package com.fh.ss;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @FileName : SnsApp
 * @Description :
 * @Author : fh
 * @Date : 2020/11/19 9:01
 * @Version : 1.0.0
 */
@SpringBootApplication
@MapperScan("com.fh.ss.dao")
@EnableTransactionManagement
@EnableDiscoveryClient
@EnableFeignClients //开启Feign客户端功能
public class SnsApp {

    public static void main(String[] args) {

        SpringApplication.run(SnsApp.class, args);
    }

}
